package top.cflwork.dao;

import top.cflwork.vo.AdverVo;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
/**
 * 广告表
 * @author cfl
 * @email 275300091@qq.com
 * @date 2020-04-21 13:47:37
 */
@Mapper
public interface AdverDao {

	AdverVo get(String id);
	
	List<AdverVo> list(AdverVo adverVo);
	
	long count(AdverVo adverVo);
	
	int save(AdverVo adver);
	
	int update(AdverVo adver);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	int batchSave(List<AdverVo> adverList);

	List<AdverVo> listAlls();
}
